ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Jasmine Overview

by csudcy ALL

A Sublime Text 3 plugin to give an overview of Jasmine functions

Details

Installs

  • Total 1K
  • Win 657
  • Mac 329
  • Linux 151
Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Mac 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Jasmine Overview

A Sublime Text plugin to give an overview of Jasmine functions & their descriptions

Usage

The only default shortcut is ctrl+k, ctrl+j to show the Jasmine Overview quick panel (ignoring beforeEach/afterEach):

Jasmine Overview

If you want to include beforeEach/afterEach, you can add a shortcut like this:

{ "keys": ["ctrl+k", "ctrl+j"], "command": "jasmine_overview", "args": {"include_before_after": true} }

You can also open the Jasmine Overview quick panel through the menu at Tools > Jasmine Overview.

Installing

Using Sublime Package Control

If you are using Sublime Package Control, you can easily install Jasmine Overview via the Package Control: Install Package menu item.

  1. Press CTRL+SHIFT+p
  2. Type “Install Package”
  3. Find Jasmine Overview
  4. Done!

Download Manually

You're going to have to work this out on your own (or, you know, just use package control…).

Developing

Running tests

To run the tests, execute:

pip install pytest
py.test

Changelog

  • v0.1.0
    • First release
  • v0.2.0
    • Moved menu to Tools > Jasmine Overview
    • Added tests for regex searching & string manipulation
    • Jump back to original cursor location if quick panel is cancelled

Todo

  • Allow exact list of keywords to be specified
    • Update tests
  • Add CI